﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NHDemo" namespace="NHDemo.Model">
	<class name="Order" table="Orders">
		<id name="Id">
			<generator class="guid.comb" />
		</id>

		<property name="OrderDate" />

		<many-to-one name="Customer" column="CustomerId" />
		<many-to-one name="Product" column="ProductId" />
		
	</class>
</hibernate-mapping>